#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QMap>
#include <QList>
#include <QPushButton>

#include "model/cvactivity.h"
#include "widgets/cvactivitywiget.h"
#include "widgets/activitytabitemwidget.h"
#include "widgets/clickablelabel.h"
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

    void initStatusBar();
private slots:
    void handleData(QList<CVActivity *> list, const QString &message);
    void createMicroblog();
    void logoutAction();
    void logoutAction(const QString &str);
private:
    Ui::MainWindow *ui;

    ActivityTabItemWidget *item;
};

#endif // MAINWINDOW_H
